package net.lanelife.casino.common.utils;

import org.apache.commons.lang.RandomStringUtils;

public class PasswordUtils {

	public static String encode(String pwd, String salt) {
		return MD5Utils.encode(pwd + salt);
	}
	
	public static String generateSalt() {
		return RandomStringUtils.randomNumeric(6);
	}
	
}
